﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SAM.Framework.ILicence
{
    /// <summary>
    /// 根据授权结果对象（=授权码+机器码）解码 为 授权信息
    /// </summary>
    public interface ILicenceUnescape
    {
        /// <summary>
        /// 根据认证信息，获取授权信息
        /// </summary>
        /// <param name="authorizationInfo"></param>
        /// <returns></returns>
        Models.LicenceInfo Unescape(Models.AuthorizationInfo authorizationInfo);
    }
}
